2002 f150 4.2 motor

codes 1131 1151 truck is running rough and sometimes wont start