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