AA 5021 then AA 2977 at Charlotte
St Louis → Charlotte → New York LaGuardia
Timetable, Charlotte time
19:29AA 5021 from St Louis at the gate
15:28AA 2977 to New York LaGuardia leaves the gate
19 h 59 apart on the timetable, overnight
AA 2977 leaves 19 h 59 after AA 5021 arrives on the timetable: more than half a day, so not a connection we count.