When the head was replaced was a new head cable fitted?
If not I would probably suspect the cable but print heads can throw some dangerous errors.
The big issue is that if their is a fault with the head it could damage the main board.
Maybe a good idea to get a new head, flush the old one and...