LA 4287 then JA 5176 at Bogotá
Pasto → Bogota → Santa Marta
Timetable, Bogota time
17:50LA 4287 from Pasto at the gate
14:25JA 5176 to Santa Marta leaves the gate
20 h 35 apart on the timetable, overnight
JA 5176 leaves 20 h 35 after LA 4287 arrives on the timetable: more than half a day, so not a connection we count.