Officials said they have taken into custody the gunman they believe shot a Troup County deputy Monday after a standoff which lasted several hours.