AA 1026 then UA 408 at Miami
Santo Domingo → Miami → Newark
Timetable, Miami time
08:30AA 1026 from Santo Domingo at the gate
08:00UA 408 to Newark leaves the gate
23 h 30 apart on the timetable, overnight
UA 408 leaves 23 h 30 after AA 1026 arrives on the timetable: more than half a day, so not a connection we count.