AV 257 then P5 7284 at Bogotá
Cancún → Bogota → Santa Marta
Timetable, Bogota time
16:05AV 257 from Cancún at the gate
15:15P5 7284 to Santa Marta leaves the gate
23 h 10 apart on the timetable, overnight
P5 7284 leaves 23 h 10 after AV 257 arrives on the timetable: more than half a day, so not a connection we count.