You pretty much have to leave. There are some people who will respond well to a direct request to stop or a clear statement of how the shouting makes you feel.
That said you are right; you should also raise the issue to upper management. You have more options than just speaking to them directly.