UA 5738 then WN 1091 at Denver
Tucson → Denver → Fresno
Timetable, Denver time
10:23UA 5738 from Tucson at the gate
09:00WN 1091 to Fresno leaves the gate
22 h 37 apart on the timetable, overnight
WN 1091 leaves 22 h 37 after UA 5738 arrives on the timetable: more than half a day, so not a connection we count.