The carbs look the same externally, but have different internal parts and adjustment settings which are matched to the induction and exhaust system.
If it's all stock, there will be some drivability issues swapping carbs. However, both carb sets can be internally modified to work wherever. But, it's not predictable beforehand with non-stock induction and exhaust components. Many believe "close enough" is just fine, though.
Swapping will work. It's up to the mechanic to determine how well.
Cheers,