UA 1511 then DM 5103 at Miami
Newark → Miami → Punta Cana
Timetable, Miami time
16:26UA 1511 from Newark at the gate
15:02DM 5103 to Punta Cana leaves the gate
22 h 36 apart on the timetable, overnight
DM 5103 leaves 22 h 36 after UA 1511 arrives on the timetable: more than half a day, so not a connection we count.