crap not the crank shaft sensor!

i give up!!!
anyone know if theres a sensor for the CIS from auto box to indicate which gear its in? my problem is the idle speed in drive and park are exactly the same (~550rpm) when shifting from drive to park or neutral the idle doest change up liike it used to....