'The idea how/ the idea of how/ the idea that how' a recessive gene might become dominant
Solution 1:
I would rephrase your sentence, separating "the idea" from "the mechanism".
The scientist put forward the idea of a recessive gene becoming dominant in a later generation, and explained how it might happen.