AA 2234 then AA 3740 at DFW
New York JFK → Dallas-Fort Worth → Acapulco
Timetable, Dallas-Fort Worth time
10:38AA 2234 from New York JFK at the gate
09:45AA 3740 to Acapulco leaves the gate
23 h 07 apart on the timetable, overnight
AA 3740 leaves 23 h 07 after AA 2234 arrives on the timetable: more than half a day, so not a connection we count.