AC 511 then UA 4789 at O'Hare
Toronto Pearson → Chicago → Fargo
Timetable, Chicago time
19:58AC 511 from Toronto Pearson at the gate
19:45UA 4789 to Fargo leaves the gate
23 h 47 apart on the timetable, overnight
UA 4789 leaves 23 h 47 after AC 511 arrives on the timetable: more than half a day, so not a connection we count.