That call is left up to the official scorer. If there were less
than two out and the fly ball, in the scorer's opinion, would have
been long enough for the runner from third to score after the
catch, then the official scorer could rule the play an error and
award the batter a sacrifice fly and an RBI.