AA 6078 then AA 3199 at Charlotte
Harrisburg → Charlotte → New York JFK
Timetable, Charlotte time
10:10AA 6078 from Harrisburg at the gate
09:05AA 3199 to New York JFK leaves the gate
22 h 55 apart on the timetable, overnight
AA 3199 leaves 22 h 55 after AA 6078 arrives on the timetable: more than half a day, so not a connection we count.