UA 4500 then AA 5222 at Dulles
Detroit → Washington → Charlotte
Timetable, Washington time
21:17UA 4500 from Detroit at the gate
19:17AA 5222 to Charlotte leaves the gate
22 h apart on the timetable, overnight
AA 5222 leaves 22 h after UA 4500 arrives on the timetable: more than half a day, so not a connection we count.