UA 5874 then DL 2943 at O'Hare
Grand Rapids → Chicago → New York LaGuardia
Timetable, Chicago time
14:10UA 5874 from Grand Rapids at the gate
14:00DL 2943 to New York LaGuardia leaves the gate
23 h 50 apart on the timetable, overnight
DL 2943 leaves 23 h 50 after UA 5874 arrives on the timetable: more than half a day, so not a connection we count.