AA 5585 then AA 2718 at Charlotte
Louisville → Charlotte → New York JFK
Timetable, Charlotte time
20:41AA 5585 from Louisville at the gate
16:16AA 2718 to New York JFK leaves the gate
19 h 35 apart on the timetable, overnight
AA 2718 leaves 19 h 35 after AA 5585 arrives on the timetable: more than half a day, so not a connection we count.