UA 3304 then AA 5564 at Charlotte
Pittsburgh → Charlotte → Harrisburg
Timetable, Charlotte time
13:00UA 3304 from Pittsburgh at the gate
11:15AA 5564 to Harrisburg leaves the gate
22 h 15 apart on the timetable, overnight
AA 5564 leaves 22 h 15 after UA 3304 arrives on the timetable: more than half a day, so not a connection we count.