A 45-year-old man appeared in court on Friday, accused of breaking into a townhome and punching a resident in Miami-Dade County, records show.