LOL, the guy trying to insult others as ‘turds’ tries to behave this time? ![]()
Since you’re still focused on the irrelevant number (4A) to the basics first: Ohm's law - Wikipedia
A 5V/4A power brick can be considered almost a scam since at only 5V cable and contact resistance are that high that you never get 5V at 4A at the device in question. You either get 5V (with low loads) or 4A (with voltage dropped below sane levels) but never both at the same time. There’s a reason why none of the USB-C and USB PD power modes exceeds 3A at 5V: since it can’t work due to resistance too high → voltage drop.
That’s why the following advise has already been given:
With tiny Dupont wiring and at 5V undervoltage might occur below 2A or even 1A! And undervoltage is defined as the tolerable voltage drop until some protection mechanism kicks in. The buck converter the GPIO pins are fed into is rated at 4.5V - 26V so as soon as the input voltage drops below 4.5V you will see random reboots.
And depending on how long and thin those Dupont cables are and if only two pins are used (contact resistance adds to the problem) at 5V you’ll have almost no chance of stable operation under any significant load since the 5V at the other end of the cable drops way too low on the board.