AV 8456 then JA 5176 at Bogotá
Pasto → Bogota → Santa Marta
Timetable, Bogota time
18:35AV 8456 from Pasto at the gate
14:25JA 5176 to Santa Marta leaves the gate
19 h 50 apart on the timetable, overnight
JA 5176 leaves 19 h 50 after AV 8456 arrives on the timetable: more than half a day, so not a connection we count.