Man accused of shooting deputy appears in Sacramento Co. court