Well, I am by no means an expert as I have two that are quite testing in this area. But, other have advised that Yorkies can take much longer than 5 months to be completely house broke - And, some never get totally trained. I'd say just keep to the routine and give things a little more time.
GOOD LUCK and WELCOME TO YT!