AV 9787 then JA 5620 at Bogotá
Santa Marta → Bogota → Bucaramanga
Timetable, Bogota time
09:05AV 9787 from Santa Marta at the gate
06:50JA 5620 to Bucaramanga leaves the gate
21 h 45 apart on the timetable, overnight
JA 5620 leaves 21 h 45 after AV 9787 arrives on the timetable: more than half a day, so not a connection we count.