AA 4 then DL 6075 at JFK
Los Angeles → New York → Lima
Timetable, New York time
23:00AA 4 from Los Angeles at the gate
22:50DL 6075 to Lima leaves the gate
23 h 50 apart on the timetable, overnight
DL 6075 leaves 23 h 50 after AA 4 arrives on the timetable: more than half a day, so not a connection we count.