With an intermitent problem like that.....I suggest, check for a loose wire connection, possibly at the PTO Clutch itself were the wiring plug plugs into the clutch.....also I have seen the wiring pigtail that goes through the frame to the clutch, get a little loose and get up against the deck belt, rubbing the insulation off the wiring causing a problem.