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