A man taken into custody after a standoff with SWAT authorities in Mojave in June took a plea deal Thursday.