The OHV 4.0 used the FL1A for its entire run.
The SOHC 4.0 was introduced in 97. It did not start using the FL820S until mid-2001.
The filters use the same gasket. The FL1A has a massive thread hole, while the FL820S is rather small. You absolutely cannot accidentally interchange the two. If you try to put an FL1A where the 820 belongs it will slide on and then fall off and hit you in the face the second you let go. If you try to put an 820 in where a 1A belongs it just won't go. The hole isn't even big enough to cross the threads. I have tried doing this both ways due to the mid-year change and just grabbing filters out of my cabinet before looking.
If the sealing surface is pitted that is probably the cause of the leak. Take some black RTV sealant, dab it on the pits, and then wipe backwards with a brand new razor blade. This will fill the pits and give the gasket something to seal against. You may need to clean the surface several times before doing this as it will need to be kept free of oil during the process.