Ok, I think some things have been lost in translation here.
If I understand the OP correctly, he was not asking how to diagnose his old engine with a blown head gasket, as that engine is gone and has been replaced it with a used motor. I think he is asking how to prevent a blown head gasket from occurring again with his new "used" motor that he has already installed (or soon will).
If that is correct, you really need to examine or at least contemplate what happened last time to blow the gasket. Which, from what I read, was an improperly maintained cooling system that failed at allowed the engine to overheat.
My 100%
unprofessional opinion is to overhaul the cooling system. Unless you know for a
fact that your radiator, fan clutch, thermostat, hoses, constant-tension hose clamps, coolant recovery reservoir (including the internal recovery hose) and coolant is functioning properly and not in need of replacement — then I think you should replace those as they aren't very expensive and will help to ensure that your engine does not overheat in the future.
Also, you absolutely
can't rely on the factory engine coolant temperature light. It is only useful in letting you know that you have probably destroyed your engine. The gauge doesn't even move above halfway before you have already entered the danger zone.
My advice would be to order a ScanGauge or Ultragauge or even some type of Android OBD2 reader that lets you watch the coolant temps via your smart phone. Watch your coolant temps and you will have a great view into the health of the engine in terms of being able to see
and recognize when something is not working properly.
Once you establish where your engine like to operate at temperature-wise, you will quickly notice when your coolant temp rises for no apparent reason. This is your chance to stop driving and start diagnosing what component of your cooling system is not working properly
before it becomes a problem and you cook another motor.
Links for gauges that will show you accurate coolant temps (and other systems):
https://www.scangauge.com/products/scangauge-ii/
http://www.ultra-gauge.com/ultragauge/