$\mathbb{Z}_3$ Parafermionic Chain Emerging From Yang-Baxter Equation