GB 797 then UA 2151 at O'Hare
Cincinnati Northern Kentucky → Chicago → Newark
Timetable, Chicago time
06:42GB 797 from Cincinnati Northern Kentucky at the gate
05:55UA 2151 to Newark leaves the gate
23 h 13 apart on the timetable, overnight
UA 2151 leaves 23 h 13 after GB 797 arrives on the timetable: more than half a day, so not a connection we count.