DL 1514 then DL 6063 at JFK
Miami → New York → Lima
Timetable, New York time
18:45DL 1514 from Miami at the gate
12:50DL 6063 to Lima leaves the gate
18 h 05 apart on the timetable, overnight
DL 6063 leaves 18 h 05 after DL 1514 arrives on the timetable: more than half a day, so not a connection we count.