I think I'm understanding what you're saying, not sure.
I know the male/female part for the '97 is more squarish, and the '98 is much skinnier than the '97, but mine worked out.

I'm holding fog switch from a '97, and the lighter colored one to the right is from a '98.

Then 2nd pic is from the junkyard, that's the pigtail I got, and it fit the lighter colored receptical (whatever it's called) perfectly.

Is that the part yellowgizmo couldn't get to work, because the shapes were different?