AA 9909 then UA 5836 at Phoenix
Salt Lake City → Phoenix → Lagos
Timetable, Phoenix time
14:30AA 9909 from Salt Lake City at the gate
11:21UA 5836 to Lagos leaves the gate
20 h 51 apart on the timetable, overnight
UA 5836 leaves 20 h 51 after AA 9909 arrives on the timetable: more than half a day, so not a connection we count.