Trying to decide which part

Our oven started messing up a few months back. I could press the temperature buttons and it would adjust, but the start button would not respond. After a few weeks it got to where the temp buttons would not respond either. I was able to pull on the control panel and get it to a different position and then the buttons would work again. After a few weeks of that they finally stopped working altogether. We are trying to figure out if it is the control panel part # W10122302BL or the migration control (we think part number 9757475). Can you please advise on which on we should buy?

Thank You,
Amanda

Here are your parts
http://www.appliancepartspros.com/partsearch/modelsearch.aspx?model=GY398LXPB00

Here is the tech sheet and a manual for a unit which should be close to yours
http://www.servicematters.com/docs/wiring/Tech%20Sheet%20-%209761389.pdf
https://secured.whirlpool.com/Service/SrvTechAdm.nsf/2cd44500d572193285256a45004fd9d6/3cd0f44c2da9595785256a8c0063802f/$FILE/4322525.pdf

Cannot say whether the control board or the control panel is at fault.
I would try the below Connector cleaning first.

The problem is I cannot find any info on the keyboard pinouts so have no way to check it other than visually.
Your problem can be caused by either, though since it has changed it’s symptoms I would go with the control board first but this is just a guess.
Also I am sort of relying on the fact that a keyboard error never came up.
You could try to get into and run the diagnostics.
I am assuming that you have already removed power from the unit and tried it and the control did not reset.

Connector Cleaning
Unplug the unit
Open it up
Remove the ribbon cable from the keypad to the control board at the control board.
Clean the edge connector.
If it is the type where there is not a connector just the insulation is removed, it can be cleaned with a pencil eraser. Do not use an ink eraser as it is too abrasive.
Check the tracks in the ribbon cable for hairline cracks. A magnifying glass helps here.
Would not hurt to clean the connector on the board. Use electronics contact cleaner or isopropyl alcohol and a tooth brush. Be gentle and do not reconnect till all the solvent evaporates.
Reconnect everything and give it a try.