LA 9974 then JA 7029 at Lima
Bogota → Lima → Cusco
Timetable, Lima time
02:00LA 9974 from Bogota at the gate
19:25JA 7029 to Cusco leaves the gate
17 h 25 apart on the timetable
JA 7029 leaves 17 h 25 after LA 9974 arrives on the timetable: more than half a day, so not a connection we count.