My MIL with dementia does this. I typically respond by saying, "you don't mean that" or "I did not do such a thing". If she keeps up her a mile a minute hostile diatribe, I start praying very LOUDLY. That appears to be the only thing which gets her to be quiet and calm down.