AA 377 then AA 5258 at Charlotte
New York JFK → Charlotte → Lexington
Timetable, Charlotte time
17:30AA 377 from New York JFK at the gate
17:16AA 5258 to Lexington leaves the gate
23 h 46 apart on the timetable, overnight
AA 5258 leaves 23 h 46 after AA 377 arrives on the timetable: more than half a day, so not a connection we count.