A California man accused of shooting at a Yakima County sheriff’s deputy is being held in lieu of $2 million bail.