AC 1951 then AC 1642 at Toronto Pearson
Quebec → Toronto → Miami
Timetable, Toronto time
12:28AC 1951 from Quebec at the gate
07:40AC 1642 to Miami leaves the gate
19 h 12 apart on the timetable, overnight
AC 1642 leaves 19 h 12 after AC 1951 arrives on the timetable: more than half a day, so not a connection we count.