SELECT republican_ticket FROM table_name_5 WHERE american_labor_ticket = "matthew j. merritt"
Which Republican ran against the American Labor candidate Matthew J. Merritt?
CREATE TABLE table_name_5 (
    republican_ticket VARCHAR,
    american_labor_ticket VARCHAR
)