FR 10 then 2W 3409 at Madrid
Dublin → Madrid → Santo Domingo
Timetable, Madrid time
23:55FR 10 from Dublin at the gate
16:202W 3409 to Santo Domingo leaves the gate
16 h 25 apart on the timetable, overnight
2W 3409 leaves 16 h 25 after FR 10 arrives on the timetable: more than half a day, so not a connection we count.