UA 3874 then AA 3253 at O'Hare
Chicago → Chicago → Newark
Timetable, Chicago time
01:21UA 3874 from Chicago at the gate
18:00AA 3253 to Newark leaves the gate
16 h 39 apart on the timetable
AA 3253 leaves 16 h 39 after UA 3874 arrives on the timetable: more than half a day, so not a connection we count.