Why is engine light on after replacing fuel pump? on 2006 Ford F-150

Truck was dripping gas. Took to repair shop they said fuel pump needed replaced. They replaced fuel pump and fuel filter. When I went to pick up the engine light was on. I asked the guy why. He hooked up machine and it said check fuses. Check wires.. We are clueless they is why we took to repair shop and the repair guy didnt want to help!! What the heck so now we have no clue whether truck is even safe to drive.. Any advice, suggestions?? Thanks

Did you check the fuzes to see if any of them have popped? If not that may be the problem or it could be that one of your oxygen sensors may be bad.