QF 7554 then UA 1172 at O'Hare
New York JFK → Chicago → Toronto Pearson
Timetable, Chicago time
17:30QF 7554 from New York JFK at the gate
13:57UA 1172 to Toronto Pearson leaves the gate
20 h 27 apart on the timetable, overnight
UA 1172 leaves 20 h 27 after QF 7554 arrives on the timetable: more than half a day, so not a connection we count.