Well, the smart a _ _ remark/solution would be to take your hand off of the shifter after it's in gear .....
The next time I get up into 5th gear ...... I'll see if mine will do that.
If I were you, I'd give your new transmission a few hundred miles, to see if it settles down.
humfrz