AA 9799 then ET 3511 at O'Hare
New York JFK → Chicago → Muscat
Timetable, Chicago time
16:51AA 9799 from New York JFK at the gate
09:05ET 3511 to Muscat leaves the gate
16 h 14 apart on the timetable, overnight
ET 3511 leaves 16 h 14 after AA 9799 arrives on the timetable: more than half a day, so not a connection we count.