Animation problem

Hello everyone, I’m a beginner in unreal, and I’m having a problem with this animation:

The weapon of the character after the near term of the animation stays fixed and shifts from the socket, could someone help me?

I think Anim notify might be the way to go. The doc: goes over sound effects and particles for footsteps but I don’t see why you can’t use it to swap a gun from one socket to the other.