error codes

my oven started with codes of f7 i could shut off the power and the oven would work properly for about a hour and then code again. it now will not code f7 but will work properly at the temp. of 290 degrees or below. if you enter a temp above 290 degrees i will get only err no codes. i was told by a repair man that i had a sticking key pad that was causing the issue. what i do not remember is what part he said i needed to fix the problem and they has since gone out of business. could you please advise me in what part i would need to order to fix my issues.
thanks dan