AC 8877 then AC 7058 at Toronto Pearson
Newark → Toronto → Montréal
Timetable, Toronto time
12:43AC 8877 from Newark at the gate
09:00AC 7058 to Montréal leaves the gate
20 h 17 apart on the timetable, overnight
AC 7058 leaves 20 h 17 after AC 8877 arrives on the timetable: more than half a day, so not a connection we count.