A government blunder and TV woes have helped lift the company’s stock 54% in the past year. How to play it now.