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