If your fuel pump only works while cranking heres the fix:
With a bit of looking around i found this for a FWD 1989 corolla
Unlike the MAP sensored engine the ECU doesnt control the fuel pump Thankfully the green and red wire is purely a switch to ground and in my case the problem was the ground on the AFM was not 100% ground it had an extremely large resistance
A bit of rewiring and it works
Just incase any1 else ever has any problems I will leave the wiring diagram up
-XPimP