H2 5321 then JA 7023 at Lima
Tumbes → Lima → Cusco
Timetable, Lima time
14:05H2 5321 from Tumbes at the gate
10:25JA 7023 to Cusco leaves the gate
20 h 20 apart on the timetable, overnight
JA 7023 leaves 20 h 20 after H2 5321 arrives on the timetable: more than half a day, so not a connection we count.