An 18-year-old man from Lancaster, California, was sentenced to four years in prison Tuesday for hundreds of “swatting” calls in which he made false threats of violence across the country.