AC 8787 then AC 642 at Toronto Pearson
Washington National → Toronto → Saint John
Timetable, Toronto time
20:28AC 8787 from Washington National at the gate
20:25AC 642 to Saint John leaves the gate
23 h 57 apart on the timetable, overnight
AC 642 leaves 23 h 57 after AC 8787 arrives on the timetable: more than half a day, so not a connection we count.