Shorting wires together can be an exciting adventure that's appealing if there's no time for travel but it can lead to burned wiring that's often costly and time-consuming to replace.
The red wire to green wire connection within the ignition switch distributes current to run the engine; losing
their connection is more likely the problem. The grey and grey-blue are mostly dedicated to lighting. I suggest you turn the ignition switch to
Off, remove it, find a spring to substitute as Mighty Gryphon has suggested and verify that the contacts are lining up correctly with their respective wires according to the position of the switch key. Maybe a watch or clock repair shop—if those exist anymore

—would have the spring you need but I've read that certain ballpoint pen springs could be modified to work, also.
All switches like this one and the control switches on the handlebar should be disassembled within a shoe box or some other small confined space to inhibit parts from escaping.
You have entered your Brick's model in your signature; that's a good thing.

Add to that information its
year and whether it is
naked, an
RT, an
LT, an
RS or a custom, modified Brick because there are variations among models. Let us know which wiring schematics and other resources you are using as reference for this project.