When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
Check the wiring and the distributor. My 7th cyl in my 97 4.6L did the same thing and it was a loose connection to my spark plugs.Also the had the popping noise, just don't drive it long distance with that sound. Don't hesitate to reach out with questions.
The 5.4 doesn't have plug wires or a distributor, so it can't be that.