Hi Lowell & Welcome. Sorry to hear about the problems with your Sunfire.
I noticed that you did not mention that any "relearn" procedure was done when you replace the Crankshaft Position Sensor. According to both of the test charts for those error codes, it mentions that this procedure must be done any time the PCM is replaced or when the crankshaft position sensor is moved in any way. They are very sensitive. Even removing, inspecting, and putting the same part back into position can cause problems.
Here is the relearn procedure for the crankshaft position sensor. Unfortunately, it takes a GM Tech 2 scanner (or equivalent) to cause the procedure to occur.
A Crankshaft Position System Variation Learning Procedure must be performed any time a change is made to the crankshaft sensor to crankshaft relationship. Changing the crank sensor to crankshaft relationship will not allow the PCM to detect misfire at all speeds and loads accurately. Resulting in a possible false misfire DTC being set.
Removing a part for inspection and then reinstalling the same part is considered a disturbance. A false DTC P0300 could be set if this procedure is not performed.
The learn procedure is required after the following service procedures have been performed, regardless of whether or not DTC P1336 is set:
Before performing the Crankshaft Position System Variation Learning Procedure always set the vehicle parking brake and block the drive wheels in order to prevent personal injury. Release the throttle immediately when the engine starts to decelerate in order to eliminate over revving the engine. Once the learn procedure is completed, the control module will return engine control to the operator and the engine will respond to the throttle position.
The battery must be fully charged and in good condition. The scan tool connection at the DLC is clean and tight before starting the Crankshaft Position System Variation Learning Procedure.
Perform this procedure up to 10 times. If the PCM will not learn the variation, a DTC P1336 should be set.
Having this procedure performed may help resolve the problem. A reasonable shop should only charge you for the actual time it takes to perform the procedure.
I hope this helps.
Take Care, Greg A.