Carburetor Cleaning

I have a gummed up Stromberg 2 bbl on one of our big blocks that is causing a miss and smoking. I know its the carb, as the motor bogs and loads up only at certain rpms. I believe it is caused by dirty fuel. Can I get a can of parts cleaner and submerge the carb in it for a while to clean it up, or is spraying carb cleaner at it while running better?