What is this thing???

its a starter relay with a red reset button on it.....the wire on the right with brown end is the neutral safety switch wire from the transmission...If trans isn't in neutral or park (grounding out rooster comb in trans) the car will also not start