MARANELLO, Italy (AP) — Stefano Domenicali resigns as Ferrari team principal and is replaced by Marco Mattiacci.