Danyall Williamson, age 20, of Duke Street, Outwood, is also charged with making a threat to kill, burglary and two further attempted burglaries all on Monday, May 16.
He appeared at Leeds Magistrates' Court on Thursday, May 19, where no pleas were entered.
The court ordered that he be held on remand.
He is next due to appear at Leeds Crown Court on June 16.