AV 9394 then JA 5362 at Bogotá
Pasto → Bogota → San Andres
Timetable, Bogota time
17:50AV 9394 from Pasto at the gate
17:40JA 5362 to San Andres leaves the gate
23 h 50 apart on the timetable, overnight
JA 5362 leaves 23 h 50 after AV 9394 arrives on the timetable: more than half a day, so not a connection we count.