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