Shipping it to yourself is perfectly legal, just use FedEx or UPS not the post office. You can ship it in care of someone else but they cannot open the package.
Not illegal but it's against Fedex or UPS policy to ship a handgun to anyone but an FFL. And it's illegal not to tell them it's a hangdgun. Catch 22. If my info is incorrect, or if you find another way, I'd love to hear about it, I've been pondering this for years.