WN 3091 then UA 5959 at Phoenix
St Louis → Phoenix → Lagos
Timetable, Phoenix time
17:15WN 3091 from St Louis at the gate
16:08UA 5959 to Lagos leaves the gate
22 h 53 apart on the timetable, overnight
UA 5959 leaves 22 h 53 after WN 3091 arrives on the timetable: more than half a day, so not a connection we count.