AA 5984 then AA 2718 at Charlotte
Florence → Charlotte → New York JFK
Timetable, Charlotte time
16:44AA 5984 from Florence at the gate
16:16AA 2718 to New York JFK leaves the gate
23 h 32 apart on the timetable, overnight
AA 2718 leaves 23 h 32 after AA 5984 arrives on the timetable: more than half a day, so not a connection we count.