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