Just to reiterate the above, yes. But different relays have different configurations.
If we're talking about the common configuration, any 5 pin relay can be used in place of a 4, but not the other way around obviously. Just check the amp rating and the diagram on the relay. If it doesn't have a diagram then check the numbers at the bottom and compare that to another relays diagram.
I know in the VS, the fuel pump uses a micro relay. That's these little buggers. Unfortunately, there are a lot of references to relays using the incorrect name on the internet. The larger one is a mini relay. Just remember mini is bigger than micro.