How long have you owned this car?
Has it ever been in a flood?
I was tempted to state that the problem is most likely the result of a bad BCM, but when I read that you also have transmission problems, I think that flood damage to most of the electrical/electronic components is the most likely explanation.