JA 5171 then LA 4198 at Bogotá
Santa Marta → Bogota → Bucaramanga
Timetable, Bogota time
12:15JA 5171 from Santa Marta at the gate
10:50LA 4198 to Bucaramanga leaves the gate
22 h 35 apart on the timetable, overnight
LA 4198 leaves 22 h 35 after JA 5171 arrives on the timetable: more than half a day, so not a connection we count.