what is the average cost for ford dealer to replace headlight sensor control on 2003 Mercury Grand Marquis

lights sometimes will not come on. only parking lights.

do not know cost. But there is a recall that I received in last few weeks. No charge if lights do not come on.