AA 538 then AA 5229 at Charlotte
Phoenix → Charlotte → Harrisburg
Timetable, Charlotte time
11:17AA 538 from Phoenix at the gate
08:30AA 5229 to Harrisburg leaves the gate
21 h 13 apart on the timetable, overnight
AA 5229 leaves 21 h 13 after AA 538 arrives on the timetable: more than half a day, so not a connection we count.