AA 5564 then AA 1150 at Charlotte
Harrisburg → Charlotte → New York LaGuardia
Timetable, Charlotte time
18:46AA 5564 from Harrisburg at the gate
18:00AA 1150 to New York LaGuardia leaves the gate
23 h 14 apart on the timetable, overnight
AA 1150 leaves 23 h 14 after AA 5564 arrives on the timetable: more than half a day, so not a connection we count.