You enter the 1099-R from the military retirement in the same area as the one for the 401k distribution. After you entered your 1099-R for the 401k contribution continue until you land on the "Your 1099-R Entries" screen and click on "Add Another 1099-R".
https://ttlc.intuit.com/replies/4194737