LA 4287 then JA 5362 at Bogotá
Pasto → Bogota → San Andres
Timetable, Bogota time
17:50LA 4287 from Pasto at the gate
17:40JA 5362 to San Andres leaves the gate
23 h 50 apart on the timetable, overnight
JA 5362 leaves 23 h 50 after LA 4287 arrives on the timetable: more than half a day, so not a connection we count.