Since you received guaranteed payments, the Schedule K-1 is apparently from a partnership tax return (Form 1065). Your Schedule K-1 should be showing the 401(k) contribution with code R in box 13. It should also be showing your net income from self-employment with code A in box 14. When you enter the code R amount into box 13, TurboTax will ask for a breakdown of the retirement contribution. The deductible contribution will then propagate to Form 1040 line 28.
If your Schedule K-1 was not prepared properly, contact the preparer.