UA 2226 then UA 3907 at O'Hare
Ontario → Chicago → Newark
Timetable, Chicago time
13:04UA 2226 from Ontario at the gate
11:30UA 3907 to Newark leaves the gate
22 h 26 apart on the timetable, overnight
UA 3907 leaves 22 h 26 after UA 2226 arrives on the timetable: more than half a day, so not a connection we count.