The IRF9540LPbF is a good replacement, the same or better performance with the same pinout. It's in a D2PAK package, which is slightly larger than the TO-252 one, but would probably fit with a little care.

pca
_________________________
Experience is what you get just after it would have helped...