TRENTON, N.J. — Former “Saturday Night Live” star Tracy Morgan has been released from a rehabilitation facility as he heals from serious injuries he suffered in a car crash that left a fellow comedian dead, his spokesman said Saturday.

Morgan will continue his recovery at home with an “aggressive outpatient program,” spokesman Lewis Kay said.

The former “30 Rock” star suffered a broken leg and broken ribs when the limousine van he was riding in was hit from behind June 7 by a Wal-Mart truck on the New Jersey Turnpike.

The wreck killed 62-year-old comedian James McNair, who went by the name Jimmy Mack. Comedian Ardley Fuqua and another passenger, Jeffrey Millea, were injured.

On Thursday, lawyers for Morgan filed a lawsuit against Bentonville, Arkansas-based Wal-Mart Stores Inc. in U.S. District Court in New Jersey, claiming the retailer was negligent when a driver of one of its tractor-trailers rammed into Morgan’s limousine van.

The complaint claims the retail giant should have known that its driver had been awake for over 24 hours and that his commute of 700 miles from his home in Georgia to work in Delaware was “unreasonable.” It also alleges the driver fell asleep at the wheel.

The lawsuit alleges “gross, reckless, willful, wanton, and intentional conduct” and seeks a jury trial and punitive and compensatory damages.