AV 8429 then JA 5166 at Bogotá
Riohacha → Bogota → Cartagena
Timetable, Bogota time
16:10AV 8429 from Riohacha at the gate
15:05JA 5166 to Cartagena leaves the gate
22 h 55 apart on the timetable, overnight
JA 5166 leaves 22 h 55 after AV 8429 arrives on the timetable: more than half a day, so not a connection we count.