AA 5638 then AA 2394 at Charlotte
Harrisburg → Charlotte → New York JFK
Timetable, Charlotte time
07:45AA 5638 from Harrisburg at the gate
07:08AA 2394 to New York JFK leaves the gate
23 h 23 apart on the timetable, overnight
AA 2394 leaves 23 h 23 after AA 5638 arrives on the timetable: more than half a day, so not a connection we count.