sounds like water/dampness got into the eletronics,
had weird problems with a e36 tore the hole car apart.
then open the ecu all corroded