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