Man convicted in fatal sniper-style shooting