AA 5585 then AA 6051 at Charlotte
Louisville → Charlotte → Harrisburg
Timetable, Charlotte time
19:21AA 5585 from Louisville at the gate
18:24AA 6051 to Harrisburg leaves the gate
23 h 03 apart on the timetable, overnight
AA 6051 leaves 23 h 03 after AA 5585 arrives on the timetable: more than half a day, so not a connection we count.