A Shareholder Agreement can be used to say how a corporation will be managed, how disputes will be resolved, what will happen on the death of a shareholder, and to prevent shareholders from competing with the corporation.
Depending on your jurisdiction, it may be used to transfer the power to manage a corporation from the directors to the shareholders.
Download: Shareholder Agreement