Tappan gas range

I noticed an "F11" fault code, which I then unplugged the range, let it set and plugged back in. It did it agian I repeated the above and it hasn’t shown that code again, but the next time I turned on the oven at 400F, the oven went way over temp(and burned my baked beans). I replaced the oven temp sensor, but it continues to overheat, even when set on 250F. Any thoughts?