An armed passing motorist was credited with saving the life of an Arizona state trooper by shooting and killing a gunman who ambushed the trooper in the middle of a lonely interstate highway before dawn Thursday.