How do I wire my dishwasher and disposal back to my house wiring?
OK, let's see if I can make this clear:

White from feed spliced to both whites from the romex cables.

Yellow from feed to yellow from switch.

Orange from switch to black from disposal.

Black from feed to black from DW.

Be sure to splice all grounds and a ground tail to the box, and put a blank cover on the box.