AV 8598 then JA 5156 at Bogotá
Pasto → Bogota → Cartagena
Timetable, Bogota time
15:20AV 8598 from Pasto at the gate
11:00JA 5156 to Cartagena leaves the gate
19 h 40 apart on the timetable, overnight
JA 5156 leaves 19 h 40 after AV 8598 arrives on the timetable: more than half a day, so not a connection we count.