5 = Kansas City, MO plant
H = 1950 year code
P = 3100 Model
F = June build month
17255 = 16,255th truck off the assembly line.
HBA624380 = Flint plant engine, 216 3100 series, number 623,380th engine produced at that plant.
Replaced engines had no serial number.
Stamping your own number to match the title is very likely NOT legal. You should investigate whether you can find the engine serial number and fess up to DMV about the engine being changed. They MAY let you re-title it with the number on the data plate. Some states used engine serial numbers for titles. Don't know about Texas.