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