JA 5185 then P5 7264 at Bogotá
Santa Marta → Bogota → Bucaramanga
Timetable, Bogota time
10:00JA 5185 from Santa Marta at the gate
06:30P5 7264 to Bucaramanga leaves the gate
20 h 30 apart on the timetable, overnight
P5 7264 leaves 20 h 30 after JA 5185 arrives on the timetable: more than half a day, so not a connection we count.