Well I would say it has very little to do with electronic issues. A trany has loads of gears and cogs. I am sure something is wore out and will need to rebuilt or repaired. I would even look at a junk yard for option instead of getting a garage to do it. But first change all the fluids it is a cheap option.