UA 798 then UA 2066 at Newark
Charlotte → New York → Miami
Timetable, New York time
07:55UA 798 from Charlotte at the gate
20:40UA 2066 to Miami leaves the gate
12 h 45 apart on the timetable
UA 2066 leaves 12 h 45 after UA 798 arrives on the timetable: more than half a day, so not a connection we count.