Help With Recreating Gun Sway

I would like to know how I could possibly recreate a gun sway effect similar to this:

https://streamable.com/vh4sim

Here is my gun sway:

https://streamable.com/cmwdo0

I have looked through other posts but I haven’t seemed to find one that recreates the gun sway I have presented.

Any help is appreciated.