UA 844 then UA 5940 at O'Hare
São Paulo → Chicago → Tucson
Timetable, Chicago time
05:15UA 844 from São Paulo at the gate
19:54UA 5940 to Tucson leaves the gate
14 h 39 apart on the timetable
UA 5940 leaves 14 h 39 after UA 844 arrives on the timetable: more than half a day, so not a connection we count.