Man accused of shooting wife, child