In my opinion if the idle is around 300 RPM - even if it's an unrelated problem, the oil pressure switch is not seeing enough pressure to shut off the light.
Also, your oil pressure switch could be bad. Usually oil pressure switches are very cheap, so if that's the case, go ahead and replace it.