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