Search the SRT Forum on P0335, there are any number of helpful hints, from a bent/damaged Flex Plate, damaged replacement CPS, including a wrong CPS purchased at Autozone.
Here's one link of the many that returns on a Search:
https://www.crossfireforum.org/forum...on-sensor.html