Struggling with switching Arduino and Random numbers

and move it to say dig 1 or 0

Do not use digital pins 0 & 1 these have the serial signals on them and they make things more complex to use.

or analog 1-5 then the same led continues to flash.

Have you changed the code to reflect the change in pin. Using analogue pin 0 means you have to call it digital pin 14, with pin 15 for analogue 1 and so on.
If you don't change the code then yes it will continue to flash.
Are you saying that the latest code still flashes the same LED?