Did I get scammed?

Just picked up a used 2018 F150 from fb marketplace. Everything looked good when I first took a look over the truck and during the test drive. Sure enough during the 45 minute drive home transmission is feeling jerky and wrench symbol comes on. Also not sure if temp should be getting so high during the drive. Any input is appreciated!

Just picked up a used 2018 F150 from fb marketplace. Everything looked good when I first took a look over the truck and during the test drive. Sure enough during the 45 minute drive home transmission is feeling jerky and wrench symbol comes on. Also not sure if temp should be getting so high during the drive. Any input is appreciated!