I went to AutoZone and I was told I need a new alternator ? The reason why I went to get it tested cause my D gear on my dash is flashing. I heard online that it can indicate a problem with the transmission shift gear. I then read even more that a bad alternator can cause this problem is this true ?

Can I keep driving like this or will it cause and further damage ?