LA 2244 then JA 7029 at Lima
Tacna → Lima → Cusco
Timetable, Lima time
12:20LA 2244 from Tacna at the gate
08:00JA 7029 to Cusco leaves the gate
19 h 40 apart on the timetable, overnight
JA 7029 leaves 19 h 40 after LA 2244 arrives on the timetable: more than half a day, so not a connection we count.