OK, in the past I too have had to deal with this tirade of irrational abuse and rage, all stress related, but tbh, I could care less what the cause is, it's still unforgivable.
It's tough to deal with when they are face to face with you, but I would suggest that if at all possible, just say that you will not stand to be yelled at, that you are going out for a little while for him to think and calm down. you will talk like adults generally do, when you get back, if he still feels the need. go, get in the car, and drive around, park up for 30 mins. Ideally don't take your mobile so he can't keep calling and calling. Distance yourself from him.
If it's while you are out and on your mobile, and he starts to yell, just hang up... Oops poor signal... Dunno what happened there. Keep repeating until he finally gives up. That one really is so satisfying!!
You need to diffuse the situation, whatever you decide to do long term.
Raise your game, don't let him take control of the conversation by screaming and shouting. It's hard, but stay cool and calm. Refuse to let yourself be dragged into a fight.
Calmly say to him that if he has an issue, you are prepared to discuss it, but if all he wants to do is stand and shriek at you, Sorry, but that is not about to happen.
Teach him how you want to be treated, if he can't do that, then you will have to reconsider what you are doing in staying with him.
Keep strong, don't let him wear you down!