Anyone replaced their radio in this generation of RAM ?

My '06 RAM 1500 radio has a mind of it's own.

It is either on or off when the truck is started..it may be working in aux and when you start it, it won't work.

If it doesn't work when you start the truck..there is nada you can do to get it to work..on the other hand, if it is on...it will work until you turn off the car.

Weird.

So tracked down a radio problem to internal to the radio.

Can you replace the radio with an aftermarket unit ? There is a wire that connects everything together...do I need another OEM radio ? If i get an OEM, does it have to be programmed..?

Life is complicated with the newer cars / trucks..

Thanks
Ian