UA 2218 then DL 8841 at Dulles
Newark → Washington → Toronto Pearson
Timetable, Washington time
21:27UA 2218 from Newark at the gate
16:00DL 8841 to Toronto Pearson leaves the gate
18 h 33 apart on the timetable, overnight
DL 8841 leaves 18 h 33 after UA 2218 arrives on the timetable: more than half a day, so not a connection we count.