GateConnections

AA 2634 then AA 3040 at Charlotte

New York JFK → Charlotte → Pittsburgh

Timetable, Charlotte time

19:35AA 2634 from New York JFK at the gate

19:25AA 3040 to Pittsburgh leaves the gate

23 h 50 apart on the timetable, overnight

AA 3040 leaves 23 h 50 after AA 2634 arrives on the timetable: more than half a day, so not a connection we count.