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