Man accused of shooting officer with bow and arrow