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