Rebuilt 340 knocking sound

I just swapped the 302 in my Bronco for one that's been sitting under my bench for 4 years or more, pulled the oil pan, to put a new pump in and check the bearings, and replaced all the gaskets and seals. It looked like it ran last week.