AA 4009 then UA 5959 at Phoenix
Redmond → Phoenix → Lagos
Timetable, Phoenix time
14:35AA 4009 from Redmond at the gate
14:28UA 5959 to Lagos leaves the gate
23 h 53 apart on the timetable, overnight
UA 5959 leaves 23 h 53 after AA 4009 arrives on the timetable: more than half a day, so not a connection we count.