AA 1708 then UA 3616 at Newark
Miami → New York → St Louis
Timetable, New York time
17:38AA 1708 from Miami at the gate
07:00UA 3616 to St Louis leaves the gate
13 h 22 apart on the timetable, overnight
UA 3616 leaves 13 h 22 after AA 1708 arrives on the timetable: more than half a day, so not a connection we count.