The lowest it should idle is around 750-800 rpm.
does the 500 rpm idle only occur with your foot on the brake and when placed in reverse?
are there any vacuum tubes attached to the automatic transmission?
if so, check them for leaks.
take care,
ChrisS