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