Is it possible for a planet’s orbit to switch from one star to another?

Is it possible for a planet’s orbit to switch from one star to another? It seems to me it would be possible under the right —but statistically incredibly improbable— circumstances, right?

Do we have knowledge/proof of it ever happening?