Remote Door Lock Sensor on 2002 Subaru Forester

My door locks stopped working with the switch and the remote. The dealer quoted around $350.00 to replace the sensor and reprogram remotes. Is this normal? Is this something I can buy at Autozone or someplace and replace myself and also reprogram remotes? I can't stand the thought of that much money for a simple convenience part.

1 answer
Here's some info about your alarm system http://www.cars101.com/subaru/keyless.html#alpine