AV 8456 then JA 5642 at Bogotá
Pasto → Bogota → Cucuta
Timetable, Bogota time
18:35AV 8456 from Pasto at the gate
15:05JA 5642 to Cucuta leaves the gate
20 h 30 apart on the timetable, overnight
JA 5642 leaves 20 h 30 after AV 8456 arrives on the timetable: more than half a day, so not a connection we count.