UA 5801 then UA 5940 at O'Hare
Charleston (West Virginia) → Chicago → Tucson
Timetable, Chicago time
07:05UA 5801 from Charleston (West Virginia) at the gate
19:54UA 5940 to Tucson leaves the gate
12 h 49 apart on the timetable
UA 5940 leaves 12 h 49 after UA 5801 arrives on the timetable: more than half a day, so not a connection we count.