AV 4871 then JA 5178 at Bogotá
Arauca → Bogota → Santa Marta
Timetable, Bogota time
12:35AV 4871 from Arauca at the gate
05:15JA 5178 to Santa Marta leaves the gate
16 h 40 apart on the timetable, overnight
JA 5178 leaves 16 h 40 after AV 4871 arrives on the timetable: more than half a day, so not a connection we count.