WN 4187 then AA 2040 at Phoenix
St Louis → Phoenix → Lagos
Timetable, Phoenix time
12:00WN 4187 from St Louis at the gate
11:40AA 2040 to Lagos leaves the gate
23 h 40 apart on the timetable, overnight
AA 2040 leaves 23 h 40 after WN 4187 arrives on the timetable: more than half a day, so not a connection we count.