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