AA 1225 then WN 958 at Boston
Miami → Boston → St Louis
Timetable, Boston time
14:10AA 1225 from Miami at the gate
12:55WN 958 to St Louis leaves the gate
22 h 45 apart on the timetable, overnight
WN 958 leaves 22 h 45 after AA 1225 arrives on the timetable: more than half a day, so not a connection we count.