AC 1951 then AC 7800 at Toronto Pearson
Quebec → Toronto → New York LaGuardia
Timetable, Toronto time
12:28AC 1951 from Quebec at the gate
11:40AC 7800 to New York LaGuardia leaves the gate
23 h 12 apart on the timetable, overnight
AC 7800 leaves 23 h 12 after AC 1951 arrives on the timetable: more than half a day, so not a connection we count.