According to the Riverside Police Department, 34-year-old Deontae Coleman of Riverside County and 39-year-old Roderick Johnson of Moreno Valley were arrested this week.
Investigators say the men were armed when they broke into a home in the Sycamore Canyon neighborhood in May.
A woman was home alone when she was confronted by the two suspects.
She was not injured during the incident.
Both men were booked into the Robert Presley Detention Center and are currently being held on $1 million bail each.
Investigators are working to see if the two men are connected to other crimes in the Inland Empire and Los Angeles County.