Defrost timer??

Whirlpool side by side, will cycle on and off as normal and then all of a sudden stop cycling. Turn knob to off and back to on and again it runs fine for several hours and same process, turn to off and back on and it seems fine. I’m guessing defrost timer, but does just turning fridge off and on recyle timer? I’m no handyman but unemployed and need to save a few bucks if not too difficult to do.
Thanks

Here is your parts breakdown
http://www.appliancepartspros.com/partsearch/modelsearch.aspx?model=ED25DQXDW04

Here is the wiring diagram
https://www.servicematters.com/docs/wiring/Wiring%20Sheet%20-%202176787.pdf

"Turn knob to off and back to on and again it runs fine for several hours"
When you turn it off, do you have to wait for some time before turning it on, re: to let the compressor cool down?

"but does just turning fridge off and on recyle timer?"
No if you have a mechanical timer, turning it off/on will not reset the timer.
I would check the defrost timer to ensure it is the mechanical type. Item 6 in the "Control" section, just because the tech sheet does seem to indicate some units have electronic defrost control. If in a defrost cycle the compressor and it’s fan will be off also the fan in the freezer will be off.

If it is just the compressor that stops, fan still runs, then check the start relay, overload and perhaps the capacitor

Here is a site that may help you troubleshoot
http://www.applianceaid.com/refrigerator.html

Replace the thermostat. That is the control you are turning off, and on. They tend to go on that specific model. The part # is 2198202. If the breakdown denman gave is not good enough, I could walk you through the repair. Tom http://www.applianceeducator.com