General Motors is recalling nearly 250,000 sport utility vehicles because of an electrical problem that can cause fires.