JA 5184 then LA 4286 at Bogotá
Santa Marta → Bogota → Pasto
Timetable, Bogota time
15:15JA 5184 from Santa Marta at the gate
14:20LA 4286 to Pasto leaves the gate
23 h 05 apart on the timetable, overnight
LA 4286 leaves 23 h 05 after JA 5184 arrives on the timetable: more than half a day, so not a connection we count.