the barrels are torqued in pretty tight. You'd need a good bench-mounted vise, a special frame-wrench (DO NOT put something through the frame window; you'll likely end up bending the frame and ruining the gun), and a LOT of force. Also, in installing the barrel, the B/C gap must be set correctly, and the threads must be trimmed so that the barrel is 'clocked' correctly (so that the front sight is vertical).
I'd say it's not a job for just anyone to do - definitely for a good gunsmith.
Then there's the matter of swapping out the ejection rods and center pins - this isn't that difficult to do, but it should be done right, with the appropriate tools and techniques (a special clamp/wrench for the ejection rod, spent shell casings in at least three chambers to brace the extractor star, clockwise to loosen/counter-clockwise to tighten).
And finally, you'll need to move the locking pin, spring, and cross-pin from the 4" barrel to the 3" barrel, again requiring the correct tools (namely, a pin-punch and a mallet).
All in all, I'd recommend that if you really want this done, it would be best to send the gun back and have Smith & Wesson do the work.