UA 5029 then UA 3908 at O'Hare
Johnstown → Chicago → Newark
Timetable, Chicago time
15:35UA 5029 from Johnstown at the gate
12:00UA 3908 to Newark leaves the gate
20 h 25 apart on the timetable, overnight
UA 3908 leaves 20 h 25 after UA 5029 arrives on the timetable: more than half a day, so not a connection we count.