AC 7253 then AC 1457 at Toronto Pearson
Lima → Toronto → San José (Costa Rica)
Timetable, Toronto time
18:20AC 7253 from Lima at the gate
18:00AC 1457 to San José (Costa Rica) leaves the gate
23 h 40 apart on the timetable, overnight
AC 1457 leaves 23 h 40 after AC 7253 arrives on the timetable: more than half a day, so not a connection we count.