A man who sprayed a Rockville, Maryland, park with gunfire during an afternoon flag football game has been sentenced to serve 35 years in prison.