AA 4040 then AA 3288 at Phoenix
Denver → Phoenix → Bakersfield
Timetable, Phoenix time
07:07AA 4040 from Denver at the gate
22:59AA 3288 to Bakersfield leaves the gate
15 h 52 apart on the timetable
AA 3288 leaves 15 h 52 after AA 4040 arrives on the timetable: more than half a day, so not a connection we count.