99 ford 150 intermittant no start

on keyup fuel pumps weakly for 1 to 2 seconds, no presure while cranking. vehicle stop running 6-10 and started miraculously 6-13

If replacing the fuel filter doesn’t help you may then need to replace the pump.