I had this exact same problem for about a year. Then on a long road trip it got worse, and then I lost reverse, neutral, D4, and eventually D3. It turned out that the problem was the shift cable, and replacing it fixed all the problems. I think it's usually called the "AT selector cable."
Here's the thread: