Chosen Solution

so i broke off my right joycon rail and have no modding experiance

Depends how it’s broken. Did you drop it? Or pull it? If the rail is still intact, you have to carefully open the Joycon, put it back and close it. For that you’ll need absolutely a TriWing (Y head) screwdriver.

If the rail is broken, you’ll need a new one.

Same thing if it’s the rail on the Switch’s side.