AA 4509 then UA 6011 at O'Hare
Memphis → Chicago → Salt Lake City
Timetable, Chicago time
12:42AA 4509 from Memphis at the gate
12:40UA 6011 to Salt Lake City leaves the gate
23 h 58 apart on the timetable, overnight
UA 6011 leaves 23 h 58 after AA 4509 arrives on the timetable: more than half a day, so not a connection we count.