AA 5021 then AA 5658 at Charlotte
St Louis → Charlotte → Pittsburgh
Timetable, Charlotte time
19:29AA 5021 from St Louis at the gate
13:20AA 5658 to Pittsburgh leaves the gate
17 h 51 apart on the timetable, overnight
AA 5658 leaves 17 h 51 after AA 5021 arrives on the timetable: more than half a day, so not a connection we count.