GateConnections

AA 2899 then DL 6063 at JFK

Miami → New York → Lima

Timetable, New York time

17:30AA 2899 from Miami at the gate

12:50DL 6063 to Lima leaves the gate

19 h 20 apart on the timetable, overnight

DL 6063 leaves 19 h 20 after AA 2899 arrives on the timetable: more than half a day, so not a connection we count.