WN 4626 then UA 5651 at Denver
Nashville → Denver → Tucson
Timetable, Denver time
18:00WN 4626 from Nashville at the gate
16:05UA 5651 to Tucson leaves the gate
22 h 05 apart on the timetable, overnight
UA 5651 leaves 22 h 05 after WN 4626 arrives on the timetable: more than half a day, so not a connection we count.