AC 1811 then AC 7058 at Toronto Pearson
Cancún → Toronto → Montréal
Timetable, Toronto time
11:55AC 1811 from Cancún at the gate
09:00AC 7058 to Montréal leaves the gate
21 h 05 apart on the timetable, overnight
AC 7058 leaves 21 h 05 after AC 1811 arrives on the timetable: more than half a day, so not a connection we count.