I have replaced the trans seal numerous times as I have rebuilt dozens of these units. It is very important for the health of the solenoid. It is like any oil seal - remove the old one and drive it in like any oil seal - only smaller. I do not remove the seal from the solenoid itself as I have not found a source for a replacement. The main problem is the one in the trans.
Fred