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