UA 5840 then 5Y 6083 at O'Hare
Appleton → Chicago → Toronto Pearson
Timetable, Chicago time
07:51UA 5840 from Appleton at the gate
20:455Y 6083 to Toronto Pearson leaves the gate
12 h 54 apart on the timetable
5Y 6083 leaves 12 h 54 after UA 5840 arrives on the timetable: more than half a day, so not a connection we count.