what is making my 2006 expedition transmission to shift hard at about 40 mph on 2006 Ford Expedition

it acts like it doesnt know what gear it wants to be in

Asked by for the 2006 Ford Expedition
How long since it has been serviced, take it someplace like AAmco for a free estimate.