AA 5872 then DL 5723 at Charlotte
Erie → Charlotte → New York LaGuardia
Timetable, Charlotte time
09:15AA 5872 from Erie at the gate
09:00DL 5723 to New York LaGuardia leaves the gate
23 h 45 apart on the timetable, overnight
DL 5723 leaves 23 h 45 after AA 5872 arrives on the timetable: more than half a day, so not a connection we count.