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