While it hard shifts, is it after you've been driving for awhile? My car does that once in a blue moon. And its the pressure control solenoid. Doesn't do it often enough that I care to fix it, I never threw a code though.