As I understand it, if one sells Apple Stock in a 401K and takes the cash proceeds as RMD, then it is taxed as ordinary income and not capital gains.
If instead the stock was not sold and taken out of the 401K put in a IRA (as a stock), would the owner enjoy capital gains rate of instead? Assume that the Apple Stock is held long term per capital gains definintion.