AA 9950 then UA 762 at O'Hare
Philadelphia → Chicago → San Francisco
Timetable, Chicago time
13:49AA 9950 from Philadelphia at the gate
11:52UA 762 to San Francisco leaves the gate
22 h 03 apart on the timetable, overnight
UA 762 leaves 22 h 03 after AA 9950 arrives on the timetable: more than half a day, so not a connection we count.