I need a iron golem spawner for my iron farm. Is there a command(setblock or give) to give me a mob spawner that spawns iron golems?
This is not achievable in Minecraft Bedrock Edition in-game.
If you're using Windows 10 and willing to use third-party software you can check out using an NBT Editor to modify item properties and use those skills to modify the spawner if you put it in the chest.
If you are playing on Java Edition, you can use this useful site right here. It's a Monster Spawner Generator that generates command for the spawner that you need, with some spesific details if you want. But if you are playing on Bedrock Edition, sorry, I don't think there's any command to that.