UA 3874 then UA 5874 at O'Hare
Chicago → Chicago → Peoria
Timetable, Chicago time
01:21UA 3874 from Chicago at the gate
15:35UA 5874 to Peoria leaves the gate
14 h 14 apart on the timetable
UA 5874 leaves 14 h 14 after UA 3874 arrives on the timetable: more than half a day, so not a connection we count.