It's simply incorrect to call Dr. King a Republican.
Garrow, David J. Quoted in "Was Martin Luther King Jr. a Republican?" by W. Gardner Selby. PolitiFact, 15 Jan. 2010.
Sourced by: Quote.org sourced
Context: Romney’s father, George W. Romney, was Governor of Michigan and lost in his attempt to be the Republican presidential candidate. He was a strong supporter of civil rights, but not only did Romney never see his father marching with King, there is no record that the elder Romney ever did march with King. He did march in a civil rights rally in Michigan but King was not present. The elder Romney was a strong supporter of civil rights however, and the son was trying to make the point that he came from a family where civil rights has always been important. This quotation became a cause célèbre in the 2007 Presidential primary campaign as critics gave this as an example of Romney’s disregard for the truth in his effort to be liked and gain support. Defenders claimed that this was a symbolic statement and an example of acceptable political hyperbole.
David Jeffries Garrow is an American author and democratic socialist. He wrote the book Bearing the Cross: Martin Luther King, Jr., and the Southern Christian Leadership Conference (1986), which won the 1987 Pulitzer Prize for Biography. He also wrote Liberty and Sexuality (1994), a history of the legal struggles over abortion and reproductive rights in the U.S. prior to the Roe v. Wade decision, Rising Star: The Making of Barack Obama (2017), and other works.