AA 901 then WN 3522 at Miami
San Francisco → Miami → St Louis
Timetable, Miami time
05:00AA 901 from San Francisco at the gate
17:30WN 3522 to St Louis leaves the gate
12 h 30 apart on the timetable
WN 3522 leaves 12 h 30 after AA 901 arrives on the timetable: more than half a day, so not a connection we count.