AA 6212 then UA 3910 at O'Hare
Madison → Chicago → Newark
Timetable, Chicago time
12:55AA 6212 from Madison at the gate
07:30UA 3910 to Newark leaves the gate
18 h 35 apart on the timetable, overnight
UA 3910 leaves 18 h 35 after AA 6212 arrives on the timetable: more than half a day, so not a connection we count.