Your question actually doesn't make sense in an MPI application. In MPI, you would have two independent processes running. One does the send, and the other does the receive. Both processes are running all the time, each on its own processor.

So you don't "switch" to another processor - the receiving process simply sits waiting for the message to arrive from the sender, and then proceeds to do the desired actions.