AA 5222 then UA 5025 at Dulles
Charlotte → Washington → Morgantown
Timetable, Washington time
18:47AA 5222 from Charlotte at the gate
12:40UA 5025 to Morgantown leaves the gate
17 h 53 apart on the timetable, overnight
UA 5025 leaves 17 h 53 after AA 5222 arrives on the timetable: more than half a day, so not a connection we count.