I don't think I would want to pull a battery connection from a new truck... All of the electronics will be shut down and many things will lose their settings...
I did that on a my previous truck which had the alternator go south on me. When I got it all back going again everything worked pretty good but the idle was way low - Around 450 rpms I think it was. It would die at a stop sines if I didn't keep my foot on the gas pedal... The book said it would relearn the sittings but after a couple of weeks mine stayed the same. I had to take to the Ford House and cost me $90 on their machine to reset things... Took about 10 minutes of effort...
Roy Ken