FOURTH AMENDED AND RESTATED COMPANY GUARANTY AGREEMENT