UA 307 then UA 5940 at O'Hare
Minneapolis → Chicago → Tucson
Timetable, Chicago time
07:44UA 307 from Minneapolis at the gate
19:54UA 5940 to Tucson leaves the gate
12 h 10 apart on the timetable
UA 5940 leaves 12 h 10 after UA 307 arrives on the timetable: more than half a day, so not a connection we count.