UA 1012 then AA 5043 at Atlanta
Newark → Atlanta → Charlotte
Timetable, Atlanta time
08:33UA 1012 from Newark at the gate
08:15AA 5043 to Charlotte leaves the gate
23 h 42 apart on the timetable, overnight
AA 5043 leaves 23 h 42 after UA 1012 arrives on the timetable: more than half a day, so not a connection we count.