UA 3375 then AC 8904 at O'Hare
St Louis → Chicago → Toronto Pearson
Timetable, Chicago time
13:30UA 3375 from St Louis at the gate
12:50AC 8904 to Toronto Pearson leaves the gate
23 h 20 apart on the timetable, overnight
AC 8904 leaves 23 h 20 after UA 3375 arrives on the timetable: more than half a day, so not a connection we count.