AA 5796 then AA 5564 at Charlotte
Lynchburg → Charlotte → Harrisburg
Timetable, Charlotte time
12:25AA 5796 from Lynchburg at the gate
11:15AA 5564 to Harrisburg leaves the gate
22 h 50 apart on the timetable, overnight
AA 5564 leaves 22 h 50 after AA 5796 arrives on the timetable: more than half a day, so not a connection we count.