If you haven't done it since replacing the TPS, disconnect the battery for a few minutes to reset the computer and see if that makes the transmission shift correctly.