AA 2458 then QR 8099 at LAX
Miami → Los Angeles → New York JFK
Timetable, Los Angeles time
00:36AA 2458 from Miami at the gate
17:07QR 8099 to New York JFK leaves the gate
16 h 31 apart on the timetable
QR 8099 leaves 16 h 31 after AA 2458 arrives on the timetable: more than half a day, so not a connection we count.