Police: Gunman shoved gun in waistband, shot himself in testicles