Retirement tax questions

Yes, put your gross wages - wages plus any 401k, etc. - in box 12a and “railroad compensation.”