AA 2860 then UA 3900 at San Francisco
Phoenix → San Francisco → Rio De Janeiro
Timetable, San Francisco time
16:10AA 2860 from Phoenix at the gate
16:00UA 3900 to Rio De Janeiro leaves the gate
23 h 50 apart on the timetable, overnight
UA 3900 leaves 23 h 50 after AA 2860 arrives on the timetable: more than half a day, so not a connection we count.