Stochasticization of Solutions to the Yang–Baxter Equation