Electrical plug/connector ID

I recently acquired a box of Lionel odds and ends and these two connectors/plugs were among the items. Each is 1 1/8 inches long and has a small screw on one end I’m sure for an electrical wire. The opposite end plugs into or onto some device. If anyone knows what these plugs are used for I would greatly appreciate it.

Thanks as always,

Mickey

Should be a fixed voltage plug for Lionel switches.

711-151 for a 022 postwar switch

That didn’t take long. Thank you both!