AA 3232 then UA 2038 at Houston
Phoenix → Houston → San Francisco
Timetable, Houston time
23:54AA 3232 from Phoenix at the gate
18:35UA 2038 to San Francisco leaves the gate
18 h 41 apart on the timetable, overnight
UA 2038 leaves 18 h 41 after AA 3232 arrives on the timetable: more than half a day, so not a connection we count.