UA 4495 then UA 4749 at Detroit
Newark → Detroit → Chicago O'Hare
Timetable, Detroit time
11:02UA 4495 from Newark at the gate
10:48UA 4749 to Chicago O'Hare leaves the gate
23 h 46 apart on the timetable, overnight
UA 4749 leaves 23 h 46 after UA 4495 arrives on the timetable: more than half a day, so not a connection we count.