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