Stewart became Jaguar Racing which became Red Bull Racing . They used Cosworth V10 engines until 2006 . Jaguar pulled out of F1 at the end of 2004 , but the team ( renamed Red Bull Racing ) continued to use Cosworth V10 engines until switching to a Ferrari V8 for 2006 .