Getting a little “Moparish” in my garage

So can I tell if the engine is the original 340 for this VIN based on the engine code (not casting) I am pretty curious but not to sure of the decoding process. DW340P is the first half which I will assume is location, engine size and premium fuel the rest is a jumble of numbers that are not similar to the actual VIN of the car at all??