UA 240 then DL 5764 at Newark
Santiago (Dominican Republic) → New York → Boston
Timetable, New York time
09:05UA 240 from Santiago (Dominican Republic) at the gate
08:40DL 5764 to Boston leaves the gate
23 h 35 apart on the timetable, overnight
DL 5764 leaves 23 h 35 after UA 240 arrives on the timetable: more than half a day, so not a connection we count.