My Kohler had a bad engine electrical connector that caused the same symptoms. The output wire of the Regulator going back to key switch the terminal connector was degrading. New connector and all good. may not be your issue but just another idea to check.
22R