AC 7041 then AC 1459 at Montréal
Boston → Montréal → San José (Costa Rica)
Timetable, Montréal time
00:10AC 7041 from Boston at the gate
18:40AC 1459 to San José (Costa Rica) leaves the gate
18 h 30 apart on the timetable
AC 1459 leaves 18 h 30 after AC 7041 arrives on the timetable: more than half a day, so not a connection we count.