This circuit allows Supply A, supply B, or both to provide power to the output, automatically isolating the 2 supplies from affecting each other. If you want to control which supply is being used while both are connected, then a SPDT switch is all you need, and no diodes. You haven't told us the...