Carl Edwards had ended speculation over his future after agreeing a multi-year deal with current team Roush Fenway Racing.