AA 2945 then UA 410 at Miami
Baltimore → Miami → Newark
Timetable, Miami time
18:49AA 2945 from Baltimore at the gate
16:39UA 410 to Newark leaves the gate
21 h 50 apart on the timetable, overnight
UA 410 leaves 21 h 50 after AA 2945 arrives on the timetable: more than half a day, so not a connection we count.