I have checked, jumped, charged cleaned it all, more than a few times. It does it in park, reverse, drive, neutral,first and second gear. If the switch and connector are good, it should only do it in P or N.
If you know how to test the neutral safety switch or connector on a 46re transmission...