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