Amazon.com Inc. is preparing to launch a delivery service for businesses, positioning it to compete directly with United Parcel Service Inc. and FedEx Corp.

Dubbed “Shipping with Amazon,” or SWA, the new service will entail the online retail giant picking up packages from businesses and shipping them to consumers, according to people familiar with the matter.

Amazon...