@Jotenhiem when you have the errors on the dash, are they the yellow warning messages, or have you ever seen the red one? If you’ve seen the red one, then you’re probably past the point where replacing the sensor won’t solve the issue I’m afraid.
I let mine get to red warning and only then the brakes started juddering, so it sounds like the abs unit may have failed already, based on my experience
If you haven’t seen any red warnings, then I wonder if the new part you’ve got is defective?
You could try buying a couple from eBay or somewhere else and see if that solves the issue?
If you haven’t seen the red, still do not drive it until replacing the sensor again.
Good luck 🤞