I think most states are good about changing titles from the engine number to the body number - it isn't much different than just having a typo on the title. Here in Missouri, you just have to have a police officer look at the data plate and the title, and sign off on the correction. That way your title would still be valid for the truck, and you could swap engines.