Answer:
The batter will be automatically out.
Step-by-step explanation:
As soon as the ball is hit, If it is caught before it hits the ground, for any reason, that is an out. However, the runner on third can stay on the base, and as soon as the ball is caught, make a run for home plate. This situation is called a "Sacrifice Fly", because the batter tries to hit it as far away from home plate, but high enough so the right fielder makes the catch, but it still leaves enough time for the runner to get home.