LA 2074 then JA 7029 at Lima
Tumbes → Lima → Cusco
Timetable, Lima time
23:05LA 2074 from Tumbes at the gate
19:25JA 7029 to Cusco leaves the gate
20 h 20 apart on the timetable, overnight
JA 7029 leaves 20 h 20 after LA 2074 arrives on the timetable: more than half a day, so not a connection we count.