UA 5738 then WN 264 at Denver
Tucson → Denver → Sacramento
Timetable, Denver time
10:23UA 5738 from Tucson at the gate
10:15WN 264 to Sacramento leaves the gate
23 h 52 apart on the timetable, overnight
WN 264 leaves 23 h 52 after UA 5738 arrives on the timetable: more than half a day, so not a connection we count.