This looks very much a like a power PTC used for example for demagnetizing cathode-ray tubes. The ceramic gets high-resistance when it heats up.
And indeed, googling for "H400 PTC" yields e.g. this link at a random seller offering a component looking alike, but I was unable to quickly find a data sheet.