Help with selecting a sensor

I need some help. I am looking for a sensor that can read a distance and if it is in the requested range would send a command to activate a light.

You can check out this Wiki to get a better idea of the distance sensor you want.