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