UA 1983 then UA 3908 at O'Hare
Miami → Chicago → Newark
Timetable, Chicago time
14:55UA 1983 from Miami at the gate
12:00UA 3908 to Newark leaves the gate
21 h 05 apart on the timetable, overnight
UA 3908 leaves 21 h 05 after UA 1983 arrives on the timetable: more than half a day, so not a connection we count.