AV 50 then JA 5642 at Bogotá
Lima → Bogota → Cucuta
Timetable, Bogota time
15:00AV 50 from Lima at the gate
14:50JA 5642 to Cucuta leaves the gate
23 h 50 apart on the timetable, overnight
JA 5642 leaves 23 h 50 after AV 50 arrives on the timetable: more than half a day, so not a connection we count.