AC 1951 then AC 2054 at Toronto Pearson
Quebec → Toronto → St. John's
Timetable, Toronto time
12:28AC 1951 from Quebec at the gate
12:15AC 2054 to St. John's leaves the gate
23 h 47 apart on the timetable, overnight
AC 2054 leaves 23 h 47 after AC 1951 arrives on the timetable: more than half a day, so not a connection we count.