AA 2198 then AA 5229 at Charlotte
Harrisburg → Charlotte → Harrisburg
Timetable, Charlotte time
12:15AA 2198 from Harrisburg at the gate
08:30AA 5229 to Harrisburg leaves the gate
20 h 15 apart on the timetable, overnight
AA 5229 leaves 20 h 15 after AA 2198 arrives on the timetable: more than half a day, so not a connection we count.