When replacing a Power Module, does the new one have to be re-programmed?

I'm referring to one involving a '99 Ford Ranger P/U.

Most of the time depending what kind you're talking about. There's dozens of modules on cars these days. Some need programming and some are plug and play.