AV 8598 then JA 5624 at Bogotá
Pasto → Bogota → Bucaramanga
Timetable, Bogota time
15:20AV 8598 from Pasto at the gate
09:15JA 5624 to Bucaramanga leaves the gate
17 h 55 apart on the timetable, overnight
JA 5624 leaves 17 h 55 after AV 8598 arrives on the timetable: more than half a day, so not a connection we count.