AA 5585 then AA 5091 at Charlotte
Louisville → Charlotte → Harrisburg
Timetable, Charlotte time
20:41AA 5585 from Louisville at the gate
15:39AA 5091 to Harrisburg leaves the gate
18 h 58 apart on the timetable, overnight
AA 5091 leaves 18 h 58 after AA 5585 arrives on the timetable: more than half a day, so not a connection we count.