The standard Ford
oil filter is too long for a 351W in a Cobra. (Hopefully, you haven't found out the hard way, that the filter won't come off with the engine in the car.)
There is a mid sized filter that cross references to SBF's and SBMopars instead of the LF16 used on 302 MII's, the LF43. Just fits.