I have a bluedriver reader it supports tranmission codes and I've not gotten any transmission codes for the transmission. Just today (like 2 hours ago) I replaced the Oxygen Sensor Bank 1 / Sensor 2 and the throttle position sensor. I was getting CEL codes for those. Looks like the hardshift did go away after doing that, but I am still having this weird groan sound with no vibration, just a sound.
Did you disconnect the battery when doing that work? If so, that would explain the hard shift going away (temporarily).