WD40 is a degreaser rust remover. It' doesn't lubricate anything. After run oil is a lubricate and pernitrates degummed engines. Castor oil will clean and protect your engine from getting all gummed up. So no need to do all that work to get a nitro engine running again. It's called preventive...
It should clean it out. Again use fuel with castor oil and you won't have any gunk inside. If you have gunk inside your engine your fuel doesn't have castor oil in it. You can add it. Always use a fuel filter to prevent a lean run and damage to your engine.
WD 40 is the worst ting for a engine. Only use after run oil a couple drops inside the engine and spin it over. Want to prevent gum up then use fuel with castor oil. Put a new plug in and new fuel and see what happens.