AA 5585 then AA 748 at Charlotte
Louisville → Charlotte → Madrid
Timetable, Charlotte time
20:41AA 5585 from Louisville at the gate
15:55AA 748 to Madrid leaves the gate
19 h 14 apart on the timetable, overnight
AA 748 leaves 19 h 14 after AA 5585 arrives on the timetable: more than half a day, so not a connection we count.