JA 7257 then JA 7027 at Lima
Tarapoto → Lima → Cusco
Timetable, Lima time
14:05JA 7257 from Tarapoto at the gate
10:40JA 7027 to Cusco leaves the gate
20 h 35 apart on the timetable, overnight
JA 7027 leaves 20 h 35 after JA 7257 arrives on the timetable: more than half a day, so not a connection we count.