These brackets are meant to be attached to a shelf, and then the light fixture is slid onto it.
The replacement is pictured alongside an original.
Printed using PETG for strength. You may find the fit a bit snug.
The author marked this model as their own original creation.