AA 3485 then UA 5959 at Phoenix
Santa Rosa → Phoenix → Lagos
Timetable, Phoenix time
16:35AA 3485 from Santa Rosa at the gate
16:08UA 5959 to Lagos leaves the gate
23 h 33 apart on the timetable, overnight
UA 5959 leaves 23 h 33 after AA 3485 arrives on the timetable: more than half a day, so not a connection we count.