Need some info , it is very common for the LCM to cause this problem , so ware did you get the LCM at , was it brand new , a junk yard , used off e bay , etc . also when you say all of the lights go off , do you mean headlamps and the parking lamps go off at the same time ??? or just the headlamps go off on there own ?
we can go back and forth on this page
CHECK OUT TH LINK BELOW, there is one guy who rebuilds them , and others you can buy
also i your handey you can repaire it on your own , the parts are about $4 check out this from a ford foum I copied and pasted below --
I did my first LCM repair on an 05 Crown Vic for about $20 and that included shipping charges. Mouser.com sells the exact same relays that go bad in your LCM for under $4 a piece. Mouser is fast too. I ordered Friday and had my relays by Monday. The part number for the relay is EQ1-11111S. If you have some soldering skills, just replace all four of those relays and put your LCM back in the car. I don't have a schematic to isolate which relay does what. But considering I salvaged a $500 LCM for less than $20, there's not much reason not to be proactive and replace all four.happy happy