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