AA 2062 then JJ 8181 at JFK
Miami → New York → São Paulo
Timetable, New York time
13:29AA 2062 from Miami at the gate
01:30JJ 8181 to São Paulo leaves the gate
12 h 01 apart on the timetable, overnight
JJ 8181 leaves 12 h 01 after AA 2062 arrives on the timetable: more than half a day, so not a connection we count.