#include <bits/stdc++.h>
using namespace std;
const string Target = "abacaba";
int count(string &s) {
  int num = 0;
  int n = s.length();
  for (int i = 0; i < n - 6; i++) {
    num += (s.substr(i, 7) == Target);
  }
  return num;
}
string f(string s, int p) {
  for (int i = 0; i < 7; i++) {
    if (s[p + i] == Target[i] || s[p + i] == '?') {
      s[p + i] = Target[i];
    } else {
      return "";
    }
  }
  for (auto &c : s) {
    if (c == '?') c = 'd';
  }
  return s;
}
void solve() {
  int n;
  string s;
  cin >> n >> s;
  for (int i = 0; i <= n - 7; i++) {
    string t = f(s, i);
    if (t != "" && count(t) == 1) {
      cout << "Yes" << '\n';
      cout << t << '\n';
      return;
    }
  }
  cout << "No" << '\n';
  return;
}
int main() {
  ios_base::sync_with_stdio(false);
  int tt;
  cin >> tt;
  while (tt--) {
    solve();
  }
  return 0;
}
