AA 5220 then UA 3478 at Charlotte
Washington → Charlotte → Newark
Timetable, Charlotte time
14:57AA 5220 from Washington at the gate
14:54UA 3478 to Newark leaves the gate
23 h 57 apart on the timetable, overnight
UA 3478 leaves 23 h 57 after AA 5220 arrives on the timetable: more than half a day, so not a connection we count.