LA 4019 then JA 5642 at Bogotá
Medellín → Bogota → Cucuta
Timetable, Bogota time
15:55LA 4019 from Medellín at the gate
15:05JA 5642 to Cucuta leaves the gate
23 h 10 apart on the timetable, overnight
JA 5642 leaves 23 h 10 after LA 4019 arrives on the timetable: more than half a day, so not a connection we count.