Transmission seems a little rough 48,000 mi. 2017 300s
You didn’t ask a question but I’ll give you an answer.
The car has at least a 5 year 50K mile powertrain warranty. Use it. Take it to your dealer. Tell them about your problem. Ask them if your car is covered.
All transmissions are computer controlled so there may be software updates they can do if it’s still under warranty .