How do I take a train to Phoenix, Az from San Jose, Ca
You can't. There is no Amtrak service to Phoenix. You would have to take a bus from the Flagstaff or Yuma stations.
Get off in Maricopa, AZ and take the thruway bus to Phoenix. Much less time on a bus than either Yuma or Flagstaff.