DL 8841 then UA 1831 at Dulles
Boston → Washington → Newark
Timetable, Washington time
19:29DL 8841 from Boston at the gate
17:50UA 1831 to Newark leaves the gate
22 h 21 apart on the timetable, overnight
UA 1831 leaves 22 h 21 after DL 8841 arrives on the timetable: more than half a day, so not a connection we count.