AA 2907 then UA 5673 at O'Hare
New York JFK → Chicago → Oklahoma City
Timetable, Chicago time
09:05AA 2907 from New York JFK at the gate
08:50UA 5673 to Oklahoma City leaves the gate
23 h 45 apart on the timetable, overnight
UA 5673 leaves 23 h 45 after AA 2907 arrives on the timetable: more than half a day, so not a connection we count.