This is a replacement end cap for a large utility flatbed trailer, it replaces the plastic plug that inserts into the end of the rail on the gate side of the trailer. (will post photo when I can)
The author marked this model as their own original creation.