I think my transmission is going out.

Went for a cruise yesterday about an hour into the drive I stopped at a light took off and the I could feel the trans slip. Once I got up to about 60 it was doing fine until I went up hill the engine felt like it was surging. My rpm’s would raise and lower. It’s a 545rfe automatic out of a 2005 Ram. It slams when going in reverse. I checked my fluid it’s good.