AC 1456 then AC 7058 at Toronto Pearson
San José (Costa Rica) → Toronto → Montréal
Timetable, Toronto time
15:00AC 1456 from San José (Costa Rica) at the gate
09:00AC 7058 to Montréal leaves the gate
18 h apart on the timetable, overnight
AC 7058 leaves 18 h after AC 1456 arrives on the timetable: more than half a day, so not a connection we count.