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