Pray for your husband that Allah swt grants him knowledge that benefits and that Allah swt doesn’t make his knowledge a means of his shortcomings. You should tell him how his actions are making you feel, tell him things like ”I was hurt by the way you spoke to me or when you told me to shut up like that” or ”I didn’t like that you disrespected so and so like that” — he may well not see the impact of his words unless explicitly shown. This will take time for him to realise but slowly and surely, the more you show and tell him the way his words affect those around him, the more he’ll see that insha Allah. Try and avoid using any words of blame as it might make him even more coarse. This might well be your challenge in how you deal with your husband being like this. Allah swt make it easy for you.