1987 Ford F-150

My truck quit running (unexpectedly); I saw that I was not getting fuelto the injectors, replaced fuel pumps in both tanks in addition to the tank switching canister. I’m now getting fuel to the injectors but, it will just turn over and not start. In addition I get an error code 87