  We construct a non-trivial homomorphism from the Guay's affine Yangian to the
universal enveloping algebra of non-rectangular $W$-algebras of type $A$. In
order to construct the homomorphism, we extend the Guay's affine Yangian and
its coproduct.
