JA 5186 then JA 5158 at Bogotá
Santa Marta → Bogota → Cartagena
Timetable, Bogota time
10:00JA 5186 from Santa Marta at the gate
05:00JA 5158 to Cartagena leaves the gate
19 h apart on the timetable, overnight
JA 5158 leaves 19 h after JA 5186 arrives on the timetable: more than half a day, so not a connection we count.