I’m a bit confused. You didn’t specify what the base model of the printer is, so can I assume it’s a gantry-type (Ender3, etc. etc.)?
You said it had “dual Y’s”. I’ve never heard of that.
Dual Z on a gantry printer is common so that both sides of the gantry get raised and lowered at the same time and the gantry is less likely to move the left side up and down more than the right. This is usually solved by putting lead screws on both sides of the gantry and either connecting them with a toothed belt or driving them with independent stepper motors. Those stepper motors, in turn, need to be triggered simultaneously and so motherboards will have dual Z-axis ports that are really one port (from the controller) driven by two stepper motor drivers. If you plugged your X and Y into these ports by mistake, you would get both X and Y moving in sync.
For diagnostic purposes, plug only one X or Y motor into it’s corresponding port at a time and test it from the control panel. Make sure it moves in the expected direction and that the distance travelled is also as expected (ie. tell it to move 200mm - is it really 200mm?). Test each motor individually. When it comes to Z, if you have a dual-motor gantry, and if it’s convenient, detach the motors from the lead screws and test them individually. If it isn’t convenient, you will have to test both motors at the same time. Again, make sure direction and distance are as expected.
If you have a volt meter, measure the voltage on the limit switch(es) who’s indicator lights are dimming. I’m guessing these are active-low, meaning that they should have (probably) 5V across them when not activated and 0V when triggered? In most cases that I’m aware of, an LED would be in series with the limit switch, but then there would be no way for the LED to come on when the switch is not being triggered. Of course, as I write this, I’m realising you didn’t actually say where the print head was at the time the LED’s were coming on; perhaps it was in the “home” position and triggering the limits?
If the LEDs are operating independently of the limit switches, then they would have to have their own, separate power leads. I’m puzzled by your statement that they were “very dim as opposed to off”. At the time they were dim, were they supposed to be on or off? If they were supposed to be on, but were dim instead, then that would be an indication of a power supply being overloaded. Probably not the 24V main power supply, but a secondary supply on the controller board that provides 5V or 3.3V for things like the limit switches or LEDs. Generally, most printers (these days) run off 24 power supplies that primarily drives the heaters but also gets further dropped, within the controller board, to 12V to drive the steppers. That 12V gets dropped again to 5V and/or 3.3V to drive the controller chip, display, limit switches, USB port, etc. etc. If you overload the 12V port with, say, a faulty stepper motor, the 5V rail might be affected too.
For now, as I suggest, check your stepper individually and, while you’re at it, check the limit switch LEDs with each stepper motor to see if one of them is overloading the 12V internal supply.