AA 5872 then AA 3199 at Charlotte
Erie → Charlotte → New York JFK
Timetable, Charlotte time
09:15AA 5872 from Erie at the gate
09:05AA 3199 to New York JFK leaves the gate
23 h 50 apart on the timetable, overnight
AA 3199 leaves 23 h 50 after AA 5872 arrives on the timetable: more than half a day, so not a connection we count.